package com.zxy.ziems.server.component.mybatis;

import com.zxy.btp.mybatis.handler.BtpDataPermissionHandler;
import org.apache.ibatis.mapping.MappedStatement;
import org.springframework.stereotype.Component;

/**
 * @ClassName JceDataPermissionHandler
 * @Description
 * @Author 邓伟
 * @Date 2023/11/16 10:11
 * @Version 1.0
 */
@Component
public class JceDataPermissionHandler implements BtpDataPermissionHandler {
    @Override
    public Boolean checkIsNeedDataAuth(MappedStatement ms) {
        return false;
    }

    @Override
    public String getAuthSql() {
        return "1=1";
    }
}
